package com.gao.id.support.segment;

import java.util.List;

public interface LeafAllocService {

    /**
     * 获取所有的 ID 信息
     * @return
     */
    List<LeafAlloc> getAllLeafAllocs();

    LeafAlloc updateMaxIdAndGetLeafAlloc(String tag);

    LeafAlloc updateMaxIdByCustomStepAndGetLeafAlloc(LeafAlloc leafAlloc);

    List<String> getAllTags();
}
